Skip to content

Add Cockpit decision instance history#67

Open
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-decision-instances
Open

Add Cockpit decision instance history#67
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-decision-instances

Conversation

@hauptmedia

Copy link
Copy Markdown

Summary

  • add a historic decision-instance list endpoint under the history API resource
  • load and render decision instances on the decision definition detail view
  • show evaluation time, process-instance context links, activity and tenant, with pagination

Tests

  • node -e "JSON.parse(require('fs').readFileSync('public/locales/en-US/translation.json','utf8')); JSON.parse(require('fs').readFileSync('public/locales/de-DE/translation.json','utf8'));"
  • npx eslint src/pages/Decisions.jsx src/pages/Decisions.test.jsx src/api/resources/history.js src/api/resources/history.test.js src/state.js src/state.test.js
  • npx vitest run src/api/resources/history.test.js src/state.test.js src/pages/Decisions.test.jsx
  • npx vitest run --maxWorkers=4
  • npm run build
  • Browser smoke: http://127.0.0.1:5176/decisions/d1 reached the login boundary with no console errors

Reference

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant